<script>
    _ = prompt
    function f(c) {
        return f = c => '输入当月' + c + '消费余额', '输入' + c + '余额'
    }
    alert((Null => _(f('银行卡')) - _(f('食宿')) - _(f('生活')))())
</script>